home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / scrasm / makefile < prev    next >
Encoding:
Makefile  |  1993-03-08  |  776 b   |  47 lines

  1. OBJS=main.obj lztimer.obj
  2. INCLUDES=modex.inc keyb.inc palette.inc page.inc scroll.inc map.inc \
  3.          constant.inc init.inc
  4. PROGRAM=scroll
  5.  
  6. .c.obj:
  7.    cl -c -Zi -Od -W4 $*.c
  8.  
  9. .asm.obj:
  10.    masm -ml -zi $*.asm
  11.  
  12. .obj.exe:
  13.    link /CO @$*.lnk
  14.  
  15. project:  scroll.exe gensq.exe genmap.exe genpal.exe
  16.  
  17. main.asm:  $(INCLUDES)
  18.  
  19. scroll.lnk:  makefile
  20.    echo $(OBJS: =+)  > $*.lnk
  21.    echo $(PROGRAM); >> $*.lnk
  22.  
  23. scroll.exe: $(OBJS) scroll.lnk
  24.    link /CO @$*.lnk
  25.  
  26. gensq.obj: $*.c
  27.  
  28. gensq.lnk: makefile
  29.    echo $*.obj; > $*.lnk
  30.  
  31. gensq.exe: $*.obj $*.lnk
  32.  
  33. genmap.obj: $*.c
  34.  
  35. genmap.lnk: makefile
  36.    echo $*.obj; > $*.lnk
  37.  
  38. genmap.exe: $*.obj $*.lnk
  39.  
  40. genpal.obj: $*.c
  41.  
  42. genpal.lnk: makefile
  43.    echo $*.obj; > $*.lnk
  44.  
  45. genpal.exe: $*.obj $*.lnk
  46.  
  47.